import { request } from 'umi';

/**  排行  POST */
export async function listTophubRank(options?: any) {
  return request<BaseResponseBean.response<TophubRankData.RankListSo[]>>('/tophub/rank/list', {
    method: 'POST',
    data: options || {},
  });
}

/**  记录 微信  POST */
export async function pageTophubRecordWeChat(options?: any) {
  return request<BaseResponseBean.responsePage<TophubRecordData.RecordWeChatPage[]>>(
    '/tophub/record/page/weChat',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 分析 预览  POST */
export async function analysisPreview(options?: any) {
  return request<BaseResponseBean.response<TophubRankData.AnalysisPreview>>(
    '/tophub/rank/analysis/preview',
    {
      method: 'POST',
      data: options || {},
    },
  );
}
